//
//  PKDrawingToolsView.h
//  PDFKitTest
//
//  Created by Emo, on 2024/1/29.
//

#import <UIKit/UIKit.h>
#import "PKDrawingColorOrLineView.h"
@class PKDrawingToolsView;

NS_ASSUME_NONNULL_BEGIN

@protocol PKDrawingToolsDelegate <NSObject>

- (void)toolsView:(PKDrawingToolsView *)toolsView didClickLastButton:(UIButton *)lastBtn;

- (void)toolsView:(PKDrawingToolsView *)toolsView didClickNextButton:(UIButton *)nextBtn;

- (void)toolsView:(PKDrawingToolsView *)toolsView didClickColorButton:(NSString *)colorHex;

- (void)toolsView:(PKDrawingToolsView *)toolsView didClickLineButton:(NSInteger)lineSize;

@end

@interface PKDrawingToolsView : UIView

@property (nonatomic, weak) id<PKDrawingToolsDelegate> delegate;

- (void)setLastButtonSelected:(BOOL)selected;

- (void)setNextButtonSelected:(BOOL)selected;

@end

NS_ASSUME_NONNULL_END
